package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家庭收支对象 hiae
 * 
 * @author zzx
 * @date 2020-09-16
 */
public class Hiae extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** s:收入 z 支出 */
    @Excel(name = "s:收入 z 支出")
    private String type;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 收入/支出时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收入/支出时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hiaeDate;

    /** 收入/支出 明细 */
    @Excel(name = "收入/支出 明细")
    private String describes;

    /** 备注 */
    @Excel(name = "备注")
    private Double remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setHiaeDate(Date hiaeDate) 
    {
        this.hiaeDate = hiaeDate;
    }

    public Date getHiaeDate() 
    {
        return hiaeDate;
    }
    public void setdescribes(String describes)
    {
        this.describes = describes;
    }

    public String getdescribes()
    {
        return describes;
    }
    public void setRemarks(Double remarks)
    {
        this.remarks = remarks;
    }

    public Double getRemarks()
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("type", getType())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .append("hiaeDate", getHiaeDate())
            .append("describes", getdescribes())
            .append("remarks", getRemarks())
            .toString();
    }
}
